package com.xtwy.spike.entity;

import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;
import java.io.Serializable;
import java.util.Date;

/**
 * 类的描述：
 *
 * @作者: 侯建军
 * @邮箱: 474177818@qq.com
 * @博客: https://blog.csdn.net/marquis888
 * @创建日期: 2018年12月02日  18:25
 * @版本: v1.0
 * @jdk版本使用: JDK1.8
 */
//@Entity
//@Table(name = "sys_user")
@Data
public class SysUser implements Serializable {

//    @Id
//    @Column(name = "id", nullable = false)
    private String id;

//    @Column(name = "login_name", nullable = false)
    private String loginName;

//    @Column(name = "email", nullable = false)
    private String email;

//    @Column(name = "delete_enum", nullable = false)
    private Integer deleteEnum;

//    @Column(name = "create_date", nullable = false)
    private Date createDate;
//
//    @Version
//    @Column(name = "lock_version", nullable = true)
    private Long lockVersion;
}
